<template>
    <view class="">
        <CMXLayout>
			<template #header>
				<view>
					DEMO2的头部
				</view>
			</template>
			<template #main>
				<view class="box1">
					???
				</view>
				<view class="box2">
					!!!
				</view>
			</template>
		</CMXLayout>
    </view>
</template>

<script setup>
	
</script>

<style lang="scss" scoped>
.box1 {
	height: 100px;
	width: 100px;
	background: hotpink;
}
.box2 {
	height: 130px;
	width: 130px;
	background: cyan;
}
</style>
